package zhoufu.sz.sanxiao_check.models;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * User:RCP
 * email:ruancaipu@gmail.com
 * Date:2016/8/4
 */
public class TrainListModel extends BaseModel<TrainListModel> implements Parcelable
{

    /**
     * ID : 29
     * SID : 2842
     * Title : 场所培训
     * Contents : 资质调查
     * Imgs : http://120.31.131.190:8080/DLSanXianChecked_V2/201607/04/1470296216516.jpg
     * UserID : 335
     * AddTime : 2016/8/4 15:36:53
     */

    private String ID;
    private String SID;
    private String Title;
    private String Contents;
    private String Imgs;
    private String UserID;
    private String AddTime;

    protected TrainListModel(Parcel in)
    {
        ID = in.readString();
        SID = in.readString();
        Title = in.readString();
        Contents = in.readString();
        Imgs = in.readString();
        UserID = in.readString();
        AddTime = in.readString();
    }

    public static final Creator<TrainListModel> CREATOR = new Creator<TrainListModel>()
    {
        @Override
        public TrainListModel createFromParcel(Parcel in)
        {
            return new TrainListModel(in);
        }

        @Override
        public TrainListModel[] newArray(int size)
        {
            return new TrainListModel[size];
        }
    };

    public String getID()
    {
        return ID;
    }

    public void setID(String ID)
    {
        this.ID = ID;
    }

    public String getSID()
    {
        return SID;
    }

    public void setSID(String SID)
    {
        this.SID = SID;
    }

    public String getTitle()
    {
        return Title;
    }

    public void setTitle(String Title)
    {
        this.Title = Title;
    }

    public String getContents()
    {
        return Contents;
    }

    public void setContents(String Contents)
    {
        this.Contents = Contents;
    }

    public String getImgs()
    {
        return Imgs;
    }

    public void setImgs(String Imgs)
    {
        this.Imgs = Imgs;
    }

    public String getUserID()
    {
        return UserID;
    }

    public void setUserID(String UserID)
    {
        this.UserID = UserID;
    }

    public String getAddTime()
    {
        return AddTime;
    }

    public void setAddTime(String AddTime)
    {
        this.AddTime = AddTime;
    }

    @Override public int describeContents()
    {
        return 0;
    }

    @Override public void writeToParcel(Parcel dest, int flags)
    {
        dest.writeString(ID);
        dest.writeString(SID);
        dest.writeString(Title);
        dest.writeString(Contents);
        dest.writeString(Imgs);
        dest.writeString(UserID);
        dest.writeString(AddTime);
    }
}
